***summary statistics
use HKCFA_u.dta, clear 

sum forei_nouk

ttest forei_nouk, by(gov) unpaired

ttest forei_nouk if gov == 1, by(govlose) unpaired

sum all

ttest all, by(gov) unpaired

ttest all if gov == 1, by(govlose) unpaired

sum uk

ttest uk, by(gov) unpaired

ttest uk if gov == 1, by(govlose) unpaired

sum hk

ttest hk, by(gov) unpaired

ttest hk if gov == 1, by(govlose) unpaired

sum inter

ttest inter, by(gov) unpaired

ttest inter if gov == 1, by(govlose) unpaired

